import request from '@/config/axios'

export interface OutVO {
  code?: string
  user?: string,
  outNum?: number,
  outTime?: string,
  remark?: string,
}

// 查询项目列表
export const getOutPage = (data: PageParam) => {
  return request.post({url: '/laboratory/out/query', data})
}
// 查询项目
export const getOut = (id: number) => {
  return request.get({url: '/laboratory/out/queryById/' + id})
}

// 添加项目
export const addOut = async (data: OutVO) => {
  return await request.post({url: '/laboratory/out/add', data})
}

// 删除项目
export const deleteOut = async (data: any) => {
  return await request.delete({url: '/laboratory/out/delete', data})
}

// 修改项目
export const updateOut = async (data: OutVO) => {
  return await request.put({url: '/laboratory/out/edit', data})
}


